public class Foo {
    Object m() {
        new Object(.return  <caret>
    }
}